package com.hkx.smipleemps.common.domain;

import java.util.Date;

public class Employee {
    private Integer id;
    private String name;
    private boolean sex;
    private String empNo;
    private String job;
    private Date birthday;
    private double sal;
    private Date hireday;

    public Employee() {
    }

    public Integer getId() {
        return id;
    }

    public Employee setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Employee setName(String name) {
        this.name = name;
        return this;
    }

    public boolean isSex() {
        return sex;
    }

    public Employee setSex(boolean sex) {
        this.sex = sex;
        return this;
    }

    public String getEmpNo() {
        return empNo;
    }

    public Employee setEmpNo(String empNo) {
        this.empNo = empNo;
        return this;
    }

    public String getJob() {
        return job;
    }

    public Employee setJob(String job) {
        this.job = job;
        return this;
    }

    public Date getBirthday() {
        return birthday;
    }

    public Employee setBirthday(Date birthday) {
        this.birthday = birthday;
        return this;
    }

    public double getSal() {
        return sal;
    }

    public Employee setSal(double sal) {
        this.sal = sal;
        return this;
    }

    public Date getHireday() {
        return hireday;
    }

    public Employee setHireday(Date hireday) {
        this.hireday = hireday;
        return this;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", empNo='" + empNo + '\'' +
                ", job='" + job + '\'' +
                ", birthday=" + birthday +
                ", sal=" + sal +
                ", hireday=" + hireday +
                '}';
    }
}
